<html>
    <head>
        <title>GOOD EDIT</title>
    </head>
    <body>
        <div style="text-align: center;width: 50%;display: block;margin-left: 25%">
            <div><h1>ADDGOODS</h1></div>
            <form action="#" method="post">
                <?php
                $s = <<<EOF
                <input type="text" name="goodname" value="$goodname" placeholder="goodname" style="width: 100%"><br>
                <input type="text" value="$num" name="num" placeholder="num" style="width: 100%"><br>
                <input type="text" name="price" value="$price" placeholder="price" style="width: 100%"><br>
EOF;
                echo $s;

                ?>
                <div style="text-align: center;" style="width: 100%">
                    <!-- 加载编辑器的容器 -->
                    <script id="container" name="content" type="text/plain"><?php echo $cont;?></script>
                    <!-- 配置文件 -->
                    <script type="text/javascript" src="/globalView/ueditor/ueditor.config.js"></script>
<!--                    <script type="text/javascript" src="/globalView/ueditor/editor_api.js"></script>-->
                    <!-- 编辑器源码文件 -->
                    <script type="text/javascript" src="/globalView/ueditor/ueditor.all.js"></script>
                    <!-- 实例化编辑器 -->
                    <script type="text/javascript">
                        var ue = UE.getEditor("container");
                    </script>
                </div>
                <input type="submit">
            </form>
        </div>
    </body>
</html>